package hu.diploma.web.client.service;

import hu.diploma.web.shared.webvos.ContactWebVo;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("person")
public interface WebContactService extends RemoteService {

	public List<ContactWebVo> loadAll() throws Exception;

	public List<ContactWebVo> loadByDevice(Long deviceid) throws Exception;

	public ContactWebVo loadPerson(Long id) throws Exception;

	public void deletePerson(ContactWebVo personWebVo) throws Exception;

	public ContactWebVo updatePerson(ContactWebVo personWebVo) throws Exception;

}
